package com.ld.wms.business.user.vo.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author wangfeng
 * @since 2024-04-12
 */
@Data
public class UserAccountRespVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "账户名")
    private String accountName;

    @Schema(description = "头像")
    private String headImage;

    @Schema(description = "真实姓名")
    private String realName;

    @Schema(description = "0:女，1:男")
    private Integer sex;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "电子邮箱")
    private String email;

    @Schema(description = "状态：具体看代码枚举")
    private Integer status;

    @Schema(description = "生日")
    private Date birthday;

    @Schema(description = "最后登录时间")
    private Date lastLoginTime;

    @Schema(description = "是否删除:0否，1:是")
    private Integer delFlag;

    @Schema(description = "版本控制，非必用")
    private Integer version;

    @Schema(description = "创建人名称")
    private String createByName;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "用户所属角色Id集合")
    private List<Long> roleIdList;

    private List<RoleRespVo> roleList;

    @Schema(description = "按钮集合")
    List<MenuTreeRespVo> buttonList;

    @Schema(description = "菜单以及页面")
    List<MenuTreeRespVo> menuList;

}
